package com.xy.service;

import java.util.List;

import com.xy.entity.LoanPeriod;

public interface LoanPeriodService {
	/**
	 * 添加贷款周期信息
	 * 
	 * @param loanPeriod
	 * @return
	 */
	public boolean addLoanPeriod(LoanPeriod loanPeriod);

	/**
	 * 删除贷款周期信息
	 * 
	 * @param loanPeriod
	 * @return
	 */
	public boolean deleLoanPeriod(LoanPeriod loanPeriod);

	/**
	 * 更新贷款信息
	 * 
	 * @param loanPeriod
	 * @return
	 */
	public boolean updateLoanPeriod(LoanPeriod loanPeriod);

	/**
	 * 查询贷款信息
	 * 
	 * @param loanPeriod
	 * @return
	 */
	public List<LoanPeriod> selectLoanPeriod(LoanPeriod loanPeriod);
}
